var app = sm("do_App");
var page = sm("do_Page");

var root=ui("$");
var do_ALayout_root=ui("do_ALayout_root");
var do_companyName=ui("do_companyName");

root.setMapping({
	"do_ALayout_root.tag":"id",
	"do_companyName.text":"name"
});
//点击查看详细内容
do_ALayout_root.on("touch", function(){	
	var url="source://view/stream/streamDetail.ui";
	var json={
		companyId:do_ALayout_root.tag,
		companyname:do_companyName.text
		};
	app.openPage({
		source:url, 
		animationType:'slide_r2l',
		data:JSON.stringify(json)
			});
}).on("touchDown", function(){
	do_ALayout_root.bgColor = "E0E0E0FF";
}).on("touchUp", function(){
	do_ALayout_root.bgColor = "FFFFFFFF";
});